<template>
  <el-menu :default-openeds="['1', '3']" style="min-height: 100%; overflow-x: hidden"
           background-color="rgb(48, 65, 86)"
           text-color="#fff"
           active-text-color="#ffd04b"
           :collapse-transition="false"
           :collapse="isCollapse"
           router
  >
    <div style="height: 60px; line-height: 60px; text-align: center">
      <img src="../assets/logo.png" alt="" style="width: 20px; position: relative; top: 5px; right: 5px">
      <b style="color: white" v-show="!isCollapse">攀枝花物流信息管理系统</b>
    </div>
    <el-menu-item index="/home">
      <i class="el-icon-house"></i>
      <span slot="title">主页</span>
    </el-menu-item>
    <!--  基本信息管理子系统-->
    <el-submenu index="2">
      <template slot="title">
        <i class="el-icon-menu"></i>
        <span slot="title">基本信息管理</span>
      </template>
      <el-menu-item index="/staff">
        <i class="el-icon-s-custom"></i>
        <span slot="title">人员信息管理</span>
      </el-menu-item>
      <el-menu-item index="/vehicle">
        <i class="el-icon-truck"></i>
        <span slot="title">车辆信息管理</span>
      </el-menu-item>
      <el-menu-item index="/Address">
        <i class="el-icon-map-location"></i>
        <span slot="title">地址基本信息</span>
      </el-menu-item>
      <el-menu-item index="/company">
        <i class="icon iconfont icon-gongsixinxi"></i>
        <span slot="title">公司信息管理</span>
      </el-menu-item>
      <el-menu-item index="/material">
        <i class="icon iconfont icon-wuzi"></i>
        <span slot="title">物资信息管理</span>
      </el-menu-item>
      <el-menu-item index="/goods">
        <i class="icon iconfont icon-huowudui"></i>
        <span slot="title">货物基本信息</span>
      </el-menu-item>
      <el-menu-item index="/buildInfo">
        <i class="icon iconfont icon-jigou"></i>
        <span slot="title">建造机构信息</span>
      </el-menu-item>
      <el-menu-item index="/electromec">
        <i class="el-icon-s-tools"></i>
        <span slot="title">机电设备信息</span>
      </el-menu-item>
      <el-menu-item index="/officeMaterial">
        <i class="icon iconfont icon-bangongbao"></i>
        <span slot="title">办公耗材管理</span>
      </el-menu-item>
    </el-submenu>
    <!--    购销存管理子系统-->
    <el-submenu index="3">
      <template slot="title">
        <i class="icon iconfont icon-kucun"></i>
        <span slot="title">购销存管理</span>
      </template>
      <el-submenu index="3-1">
        <template slot="title">
          <i class="icon iconfont icon-bangongbao"></i>
          <span slot="title">办公耗材采购管理</span>
        </template>
        <el-menu-item index="/officeMaterialPurchase">
          <i class="icon iconfont icon-bangongbao"></i>
          <span slot="title">采购</span>
        </el-menu-item>
        <el-menu-item index="/officeUsage">
          <i class="el-icon-notebook-1"></i>
          <span slot="title">使用记录</span>
        </el-menu-item>
      </el-submenu>

      <el-submenu index="3-2">
        <template slot="title">
          <i class="icon iconfont icon-wuzi"></i>
          <span slot="title">物资购销存管理</span>
        </template>
        <el-menu-item index="/materialPurchase">
          <i class="icon iconfont icon-wuzi"></i>
          <span slot="title">采购</span>
        </el-menu-item>
        <el-menu-item index="/materialUsage">
          <i class="el-icon-notebook-1"></i>
          <span slot="title">物资运输单</span>
        </el-menu-item>
      </el-submenu>
      <el-submenu index="3-3">
        <template slot="title">
          <i class="icon iconfont icon-huowudui"></i>
          <span slot="title">货物购销存管理</span>
        </template>
        <el-menu-item index="/goodslPurchase">
          <i class="icon iconfont icon-bangongbao"></i>
          <span slot="title">采购</span>
        </el-menu-item>
        <el-menu-item index="/goodsUsage">
          <i class="el-icon-notebook-1"></i>
          <span slot="title">订单</span>
        </el-menu-item>
      </el-submenu>
    </el-submenu>
    <!--    汽车检修管理子系统-->
    <el-submenu index="4">
      <template slot="title">
        <i class="icon iconfont icon-tiaodu"></i>
        <span slot="title">运输调度管理</span>
      </template>
      <el-menu-item index="/transportTask">
        <i class="icon iconfont icon-yunshuzhongwuliu"></i>
        <span slot="title">运输任务管理</span>
      </el-menu-item>
      <el-menu-item index="/vehicleoperation">
        <i class="icon iconfont icon-cheliangxinxi"></i>
        <span slot="title">车辆运营记录</span>
      </el-menu-item>
      <el-menu-item index="/businessRecords">
        <i class="icon iconfont icon-chengyunshangyundanchaxun"></i>
        <span slot="title">承运商业务记录</span>
      </el-menu-item>
      <el-menu-item index="/railwaytransportation">
        <i class="icon iconfont icon-tielu"></i>
        <span slot="title">铁路运输待办</span>
      </el-menu-item>
    </el-submenu>
    <!--    汽车检修管理子系统-->
    <el-submenu index="5">
      <template slot="title">
        <i class="icon iconfont icon-weixiu-xiuche"></i>
        <span slot="title">车辆检修管理</span>
      </template>
      <el-menu-item index="/vehicleRepairMaterial">
        <i class="icon iconfont icon-banshou"></i>
        <span slot="title">物资使用记录</span>
      </el-menu-item>
      <el-menu-item index="/repairman">
        <i class="icon iconfont icon-weixiugongguanli"></i>
        <span slot="title">修理工维修记录</span>
      </el-menu-item>
      <el-menu-item index="/vehiclerepair">
        <i class="icon iconfont icon-weixiugongdan"></i>
        <span slot="title">车辆维修记录</span>
      </el-menu-item>
    </el-submenu>
    <!--    对外合作管理子系统-->
    <el-submenu index="6">
      <template slot="title">
        <i class="el-icon-s-cooperation"></i>
        <span slot="title">对外合作管理</span>
      </template>
      <el-menu-item index="/announcement">
        <i class="icon iconfont icon-gongsixinxi"></i>
        <span slot="title">公司简介公告管理</span>
      </el-menu-item>
      <el-menu-item index="/msgmanger">
        <i class="el-icon-s-platform"></i>
        <span slot="title">留言管理</span>
      </el-menu-item>
      <el-menu-item index="/advertisement">
        <i class="el-icon-news"></i>
        <span slot="title">销售广告管理</span>
      </el-menu-item>
    </el-submenu>
    <!--    数据统计分析子系统-->
    <el-submenu index="7">
      <template slot="title">
        <i class="el-icon-s-data"></i>
        <span slot="title">数据统计分析</span>
      </template>
<!--      <el-menu-item index="/#">-->
<!--        <i class="el-icon-document"></i>-->
<!--        <span slot="title">周期性报表</span>-->
<!--      </el-menu-item>-->
      <el-menu-item index="/lineChart">
        <i class="el-icon-data-line"></i>
        <span slot="title">线性数据折线图</span>
      </el-menu-item>
      <el-menu-item index="/distributionChart">
        <i class="el-icon-pie-chart"></i>
        <span slot="title">业务状况分布图</span>
      </el-menu-item>
      <el-menu-item index="/histogram">
        <i class="el-icon-data-analysis"></i>
        <span slot="title">产值利润柱状图</span>
      </el-menu-item>
    </el-submenu>
  </el-menu>
</template>

<script>
export default {
  name: "Aside",
  props: {
    isCollapse: Boolean,
  }
}
</script>
